<!--{if empty($_SGLOBAL['inajax'])}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=$_SC[charset]" />
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <title><!--{if $_TPL['titles']}--><!--{loop $_TPL['titles'] $value}--><!--{if $value}-->$value - <!--{/if}--><!--{/loop}--><!--{/if}--><!--{if $_SN[$space[uid]]}-->{$_SN[$space[uid]]} - <!--{/if}-->$_SCONFIG[sitename] - Powered by UCenter Home</title>
        <script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
        <script language="javascript" type="text/javascript" src="source/script_common.js"></script>
        <script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
        <script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
        <script language="javascript" type="text/javascript" src="source/script_face.js"></script>
        <script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
        <script language="javascript" type="text/javascript" src="freeuch/js/base.js"></script>
        <style type="text/css">
            @import url(template/default/style.css);
            <!--{if $_TPL['css']}-->
            @import url(template/default/{$_TPL[css]}.css);
            <!--{/if}-->
            <!--{if !empty($_SGLOBAL['space_theme'])}-->
            @import url(theme/$_SGLOBAL[space_theme]/style.css);
            <!--{elseif $_SCONFIG[template] != 'default'}-->
            @import url(template/$_SCONFIG[template]/style.css);
            <!--{/if}-->
            <!--{if !empty($_SGLOBAL['space_css'])}-->
            $_SGLOBAL[space_css]
            <!--{/if}-->
        </style>
        <link rel="shortcut icon" href="image/favicon.ico" />
        <link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.php?rsd=$space[uid]" />
    </head>
    <body>

        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>
        <div id="header">
            <!--{if $_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--{/if}-->
            <div class="headerwarp">
                <h1 class="logo"><a href="index.php"><img src="template/$_SCONFIG[template]/image/logo.gif" alt="$_SCONFIG[sitename]" /></a></h1>
                <ul class="menu">
                    <!--{if $_SGLOBAL[supe_uid]}-->
                    <li><a href="space.php?do=home">首页</a></li>
                    <li><a href="space.php">个人主页</a></li>
                    <li><a href="space.php?do=friend">好友</a></li>
                    <li><a href="network.php">随便看看</a></li>
                    <!--{else}-->
                    <li><a href="index.php">首页</a></li>
                    <!--{/if}-->

                    <!--{if $_SGLOBAL['appmenu']}-->
                    <!--{if $_SGLOBAL['appmenus']}-->
                    <li class="dropmenu" id="ucappmenu" onclick="showMenu(this.id)">
                        <a href="javascript:;">站内导航</a>
                    </li>
                    <!--{else}-->
                    <li><a target="_blank" href="{$_SGLOBAL[appmenu][url]}" title="{$_SGLOBAL[appmenu][name]}">{$_SGLOBAL[appmenu][name]}</a></li>
                    <!--{/if}-->
                    <!--{/if}-->

                    <!--{if $_SGLOBAL[supe_uid]}-->
                    <li><a href="space.php?do=pm<!--{if !empty($_SGLOBAL['member']['newpm'])}-->&filter=newpm<!--{/if}-->">消息<!--{if !empty($_SGLOBAL['member']['newpm'])}-->(新)<!--{/if}--></a></li>
                    <li class="notify" id="membernotemenu" onmouseover="showMenu(this.id)" <!--{if !$_SGLOBAL['member']['allnotenum']}-->style="display:none;"<!--{/if}-->><a href="space.php?do=notice">{$_SGLOBAL[member][allnotenum]}个提醒</a></li>
                    <!--{else}-->
                    <li><a href="help.php">帮助</a></li>
                    <!--{/if}-->
                </ul>

                <div class="nav_account">
                    <!--{if $_SGLOBAL[supe_uid]}-->
                    <a href="space.php?uid=$_SGLOBAL[supe_uid]" class="login_thumb"><!--{avatar($_SGLOBAL[supe_uid])}--></a>
                    <a href="space.php?uid=$_SGLOBAL[supe_uid]" class="loginName">{$_SN[$_SGLOBAL[supe_uid]]}</a>
                    <!--{if $_SGLOBAL[member][credit]}-->
                    <a href="cp.php?ac=credit" style="font-size:11px;padding:0 0 0 5px;"><img src="image/credit.gif">{$_SGLOBAL[member][credit]}</a>
                    <!--{/if}-->
                    <br />
                    <!--{if empty($_SCONFIG['closeinvite'])}-->
                    <a href="cp.php?ac=invite">邀请</a>
                    <!--{/if}-->
                    <a href="cp.php?ac=task">任务</a>
                    <a href="cp.php?ac=magic">道具</a>
                    <a href="cp.php">设置</a>
                    <a href="cp.php?ac=common&op=logout&uhash=$_SGLOBAL[uhash]">退出</a>
                    <!--{else}-->
                    <a href="do.php?ac=$_SCONFIG[register_action]" class="login_thumb"><!--{avatar($_SGLOBAL[supe_uid])}--></a>
			欢迎您<br>
                        <a href="do.php?ac=$_SCONFIG[login_action]">登录</a> |
                        <a href="do.php?ac=$_SCONFIG[register_action]">注册</a>
                        <!--{/if}-->
                </div>
            </div>
        </div>

        <div id="wrap">

            <!--{if empty($_TPL['nosidebar'])}-->
            <div id="main">
                <div id="app_sidebar">
                    <!--{if $_SGLOBAL[supe_uid]}-->
                    <ul class="app_list" id="default_userapp">
                        <li><img src="image/app/doing.gif"><a href="space.php?do=doing">记录</a></li>
                        <li><img src="image/app/album.gif"><a href="space.php?do=album">相册</a><em><a href="cp.php?ac=upload" class="gray">上传</a></em></li>
                        <li><img src="image/app/blog.gif"><a href="space.php?do=blog">日志</a><em><a href="cp.php?ac=blog" class="gray">发表</a></em></li>
                        <li><img src="image/app/poll.gif"/><a href="space.php?do=poll">投票</a><em><a href="cp.php?ac=poll" class="gray">发起</a></em></li>
                        <li><img src="image/app/mtag.gif"><a href="space.php?do=mtag">群组</a><em><a href="cp.php?ac=thread" class="gray">话题</a></em></li>
                        <li><img src="image/app/event.gif"/><a href="space.php?do=event">活动</a><em><a href="cp.php?ac=event" class="gray">发起</a></em></li>
                        <li><img src="image/app/share.gif"><a href="space.php?do=share">分享</a></li>
                        <li><img src="image/app/topic.gif"><a href="space.php?do=topic">热闹</a></li>
                        <li><img src="freeuch/image/app/hotel.gif"><a href="freeuch.php?mod=hotel">酒店预订</a></li>
                    </ul>

                    <ul class="app_list topline" id="my_defaultapp">
                        <!--{if $_SCONFIG['my_status']}-->
                        <!--{loop $_SGLOBAL['userapp'] $value}-->
                        <li><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.php?id=$value[appid]">$value[appname]</a></li>
                        <!--{/loop}-->
                        <!--{/if}-->
                    </ul>

                    <!--{if $_SCONFIG['my_status']}-->
                    <ul class="app_list topline" id="my_userapp">
                        <!--{loop $_SGLOBAL['my_menu'] $value}-->
                        <li id="userapp_li_$value[appid]"><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.php?id=$value[appid]" title="$value[appname]">$value[appname]</a></li>
                        <!--{/loop}-->
                    </ul>
                    <!--{/if}-->

                    <!--{if $_SGLOBAL['my_menu_more']}-->
                    <p class="app_more"><a href="javascript:;" id="a_app_more" onclick="userapp_open();" class="off">展开</a></p>
                    <!--{/if}-->

                    <!--{if $_SCONFIG['my_status']}-->
                    <div class="app_m">
                        <ul>
                            <li><img src="image/app_add.gif"><a href="cp.php?ac=userapp&my_suffix=%2Fapp%2Flist" class="addApp">添加应用</a></li>
                            <li><img src="image/app_set.gif"><a href="cp.php?ac=userapp&op=menu" class="myApp">管理应用</a></li>
                        </ul>
                    </div>
                    <!--{/if}-->

                    <!--{else}-->
                    <div class="bar_text">
                        <form id="loginform" name="loginform" action="do.php?ac=$_SCONFIG[login_action]&ref" method="post">
                            <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                            <p class="title">登录站点</p>
                            <p>用户名</p>
                            <p><input type="text" name="username" id="username" class="t_input" size="15" value="" /></p>
                            <p>密码</p>
                            <p><input type="password" name="password" id="password" class="t_input" size="15" value="" /></p>
                            <p><input type="checkbox" id="cookietime" name="cookietime" value="315360000" checked /><label for="cookietime">记住我</label></p>
                            <p>
                                <input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class="submit" />
                                <input type="button" name="regbutton" value="注册" class="button" onclick="urlto('do.php?ac=$_SCONFIG[register_action]');">
                            </p>
                        </form>
                    </div>
                    <!--{/if}-->
                </div>

                <div id="mainarea">

                    <!--{if $_SGLOBAL['ad']['contenttop']}--><div id="ad_contenttop"><!--{ad/contenttop}--></div><!--{/if}-->
                    <!--{/if}-->

                    <!--{/if}-->
